﻿using Base.FileRemoteModel.Pdf.Model;
using WeDonekRpc.Helper.Validate;

namespace Basic.HrGatewayModular.Model.EmpSign
{
    public class UpEmpSign
    {
        [NumValidate("file.Id.error", 1)]
        public long FileId
        {
            get;
            set;
        }
        /// <summary>
        /// 签名类型    
        /// </summary>
        [EnumValidate("hr.emp.sign.type.error", typeof(WritePdfSignType))]
        public WritePdfSignType SignType
        {
            get;
            set;
        }
        [NullValidate("hr.emp.sign.pwd.null")]
        [LenValidate("hr.emp.sign.pwd.len", 6, 16)]
        public string CertPwd
        {
            get;
            set;
        }
    }
}
